#pragma once
#include "Map.h"
#include "WormAction.h"
#include "Team.h"

// Inteface to interact whith game object.
class GameInterface
{
public:
	
	// Return current map.
	// This should be use by bots.
	virtual Map getMap();

	// sets action for next round.
	// This should be used by bots.
	virtual void setAction(WormAction action);

	// Initis map for the game.
	// You MUST call this befor star new game.
	virtual void initMap(Map& map);

	// Star new game.
	// initMap MUST be called befor this method also addNewTeam should be called.
	virtual bool startNewGame();

	// Adds team to the game.
	// This can be only called befor startNewGame was invoked.
	virtual void addNewTeam(Team newTeam);

	virtual ~GameInterface(void);

};

